package com.yingxue.demo.vo.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Package: com.company.scaffold.vo.req
 * @Author: Mr.Waves
 * @Date: 2020-03-10 10:53
 * @Description:
 **/
@Data
public class TestRequestVO {
    @NotBlank(message = "用户名不能为空")
    private String name;

    @NotNull(message = "年龄不能为空")
    private Integer age;

    @NotEmpty(message = "id列表不能为空")
    private List<Long> ids;

}
